package com.yonyou.pmclouds.repairlog.entity;

import com.yonyou.pmclouds.auditlog.entity.AuditLogVO;
import com.yonyou.pmclouds.basecom.entity.SuperVO;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Table(name="pm_repairlog")
@Setter
@Getter
/**
 * 问题记录单--整改内容表体
 * @author fangepngc
 *
 */
public class RepairLogVO extends SuperVO{
    
    private static final long serialVersionUID = -8715825686498408105L;
    /**
     * 整改记录状态
     */
    public static final String BILLSTATUS = "billstatus";
    /**
     * 审核意见
     */
    public static final String AUDIT = "audit";
    @Id
    private String pk_repair;
    // 整改内容
    private String repair_content;
    // 整改时间
    private Date repair_time;
    // 整改内容状态
    private byte billstatus;
    // 审核意见
    private String audit;
    // 问题记录单pk
    private String pk_problemlog;
    // 项目
    private String pk_project;
    // 整改照片
    @Transient
    private String[] pictures;

    @Transient
    private String picture_address; // 照片真实地址(用于存储HTML形式)
    @Transient
    private String strRepairtime;
    @Transient
    private String pk_problem;
    /**
     * 验收记录
     */
    @Transient
    private AuditLogVO auditLogVO;
}
